package ywh.player
{
	
	/**
	 * 播放器状态;
	 * @author WilliWHYang
	 */
	public class PlayerState
	{
		/**
		 * 播放器为空;
		 */
		public static const EMPTY:String = "EMPTY";
		
		/**
		 * 正在缓冲
		 */
		//public static const BUFFERING:String = "BUFFERING";
		
		/**
		 * 正在加载或连接
		 */
		public static const LOADING:String = "LOADING";
		
		/**
		 * 媒体已准备好可以使用
		 */
		public static const READY:String = "READY";
		
		/**
		 * 正在播放媒体
		 */
		public static const PLAYING:String = "PLAYING";
		
		/**
		 * 正在暂停媒体
		 */
		public static const PAUSED:String = "PAUSED";
		
		/**
		 * 正在寻址位置;
		 */
		public static const SEEKING:String = "SEEKING";
		
		/**
		 * 播放完毕;
		 */
		public static const ENDED:String = "ENDED";
		
		/**
		 * 播放器回放错误;
		 */
		public static const PLAYBACK_ERROR:String = "PLAYBACK_ERROR";
		
		/**
		 * 已创建，但尚未准备好供使用
		 */
		//public static const UNINITIALIZED:String = "UNINITIALIZED";
	
	}
}